import SnippetKt.notSuspend
import kotlin.coroutines.*

suspend fun main() {
    println(notSuspend())
    println("end")
    suspend {
        1
    }.startCoroutine(object : Continuation<Int> {
        override val context: CoroutineContext
            get() = EmptyCoroutineContext

        override fun resumeWith(result: Result<Int>) {

        }
    })
}

suspend fun suspendFunc01(a: Int) {
    return
}

object SnippetKt {
    @JvmStatic
    suspend fun notSuspend() = suspendCoroutine<Int> {
        it.resume(100)
    }
}

